package com.yida.dao;

import org.apache.ibatis.annotations.Mapper;

import com.yida.bean.blogUser;
import com.yida.bean.blogUserThird;

@Mapper
public interface loginMapper {

	  //查看第三方表里有没有数据
    Integer ThirdByUnique(String openid);
    
    //插入第三方表
    Integer   insertThirdUser(blogUserThird blogUserThird);
    
    //插入用户表
    Integer   insertUser(blogUser blogUser);
    
    //查用户
    blogUser   blogUserByOpenId(String openid);
}
